<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			/**
			 * concat 连接两个数组，返回值为一个新的数组
			 */
			var arr = [1,2,3,4]
			var arr2 = [
				{name:"xiaoye",age:20},
				{name:"xiaoye2",age:23},
				{name:"xiaoye3",age:26}
			]
			
			let arr3 =  arr.concat(arr2)
			console.log(arr3);
		</script>
	</body>
</html>
